package com.zjitc.pigspring.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zjitc.pigspring.bean.po.Shop;
import com.zjitc.pigspring.bean.po.ShopVO;

import java.util.List;

public interface ShopService extends IService<Shop> {
    List<ShopVO> getAll();

    List<ShopVO> getAllByUser(Integer id);

    List<ShopVO> getListByUsername(ShopVO shopVO);

    boolean deleteByGoodId(Integer id);

    boolean deleteByUserId(Integer id);
}
